package com.example.springboot1.repository;

import com.example.springboot1.entity.UserMongo;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserRepository extends MongoRepository<UserMongo, Long> {

    UserMongo findByUsername(String username);

}